package cn.com.egova.service;

import cn.com.egova.domain.Customer;
import cn.com.egova.domain.PageBean;
import org.hibernate.criterion.DetachedCriteria;

import java.util.List;

/**
 * Created by yuanchao on 2020/5/23.
 */
public interface CustomerService {
    void save(Customer customer);

    PageBean<Customer> findByPage(Integer pageCode, Integer pageSize, DetachedCriteria criteria);

    Customer findById(Long cust_id);

    void delete(Customer customer);

    void update(Customer customer);

    List<Customer> findAll();
}
